<?php
session_start();
if ($_SESSION["name"]!='a') {
   header("Location:login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <link rel="stylesheet" href="static/css/root.css">
    <link rel="stylesheet" href="static/css/aside.css">
    <link rel="stylesheet" href="static/css/index.css">
    <link rel="stylesheet" href="static/css/bannershow.css">
</head>
<body>

    <div class="box">
        <!-- 主体 -->
        <div class="leftbox">

            <!-- 开场轮播图 -->
            <div class="banner">
               <div id="banner_box"></div>
            </div>


        </div>
        <!-- 导航栏 -->
        <aside class="rightbox">
            <div class="navbar">
                    <div class="logo">
                        <img src="static/img/lv.png" alt="">
                    </div>
                <ul>
                    <li class="aside-item">
                        <a href="index.php" class="aside-item-link"><span><img src="static/img/home.png" alt=""></span>首页</a>
                    </li>
                    <li class="aside-item">
                        <a href="pages/album.php" class="aside-item-link"><span><img src="static/img/img.png" alt=""></span>相册</a>
                    </li>
                   <li class="aside-item">-->
                     <a href="pages/about.php" class="aside-item-link"><span><img src="static/img/like.png" alt=""></span>留言板</a>
                    </li>
<!--                  <li class="aside-item">-->
<!--                       <a href="./pages/about.php" class="aside-item-link"><span><img src="./static/img/about.png" alt=""></span>关于</a>-->
<!--                 </li>-->
                    <li class="aside-item">
                        <a href="pages/message.html" class="aside-item-link"><span><img src="static/img/tip.png" alt=""></span>留言</a>
                    </li>
                </ul>
            </div>
            
        </aside>
    </div>

    <!-- js -->
<!--    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.1/gsap.min.js"></script>-->
<!--    <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.3.1/ScrollTrigger.min.js"></script>-->
<!--    <script src="./static/js/index.js"></script>-->
    <script src="static/js/bannershow.js"></script>

</body>
</html>